package com.ducks;

import com.behaviors.FlyNoWay;
import com.behaviors.MuteQuack;

/**
 * @author SnowmanAndBee
 * @version <version>
 * <description>
 * @date 2021/10/24 - 22:04
 */
public class ModelDuck extends Duck{
    public ModelDuck() {
        flyBehavior = new FlyNoWay();
        quackBehavior = new MuteQuack();
    }
    @Override
    public void display() {
        System.out.println("I'm a model duck");
    }
}
